/*
 *@Author: 张楚
 *@Date: 2021-08-09 21:11:41
 *@Description: SingleChildScrollView
*/

import 'package:flutter/material.dart';

class SingleChildScrollViewPage extends StatefulWidget {
  const SingleChildScrollViewPage({Key key}) : super(key: key);
  @override
  _SingleChildScrollViewPageState createState() =>
      _SingleChildScrollViewPageState();
}

class _SingleChildScrollViewPageState extends State<SingleChildScrollViewPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('ss'),
      ),

      ///SingleChildScrollView的作用就是，需要滚动的时候才滚动，不需要滚动的时候，不会滚动
      body: SingleChildScrollView(
        child: Column(
          children: [
            FlutterLogo(
              size: 70,
            ),
            FlutterLogo(
              size: 750,
            ),
            FlutterLogo(),
          ],
        ),
      ),
    );
  }
}
